<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <form th:action="@{/company/add}" method="post">
        姓名:<input type="text" name="sname" ><br>
        性别：<input type="radio" name="sex" value="1">男
              <input type="radio" name="sex" value="2">女 <br>
        出生日期：<input type="date" name="birthday" dataformatas="yyyy-MM-dd"/><br/>
        入职时间：<input type="date" name="createtime" dataformatas="yyyy-MM-dd"/><br/>
        学历：<input type="text" name="school"><br>
        职位：
        <select name="zid">
                <option value="">请选择</option>
                <option th:each="function : ${function}"
                        th:value="${function.zid}"
                        th:text="${function.zname}">
                </option>
         </select><br/>
        住址：<input type="text" name="address"><br/>
        电话：<input type="text" name="phone"><br/>
        紧急联系人：<input type="text" name="contact"><br/>
        所属部门：
        <select name="bid">
            <option value="">请选择</option>
            <option th:each="bumen : ${bumen}"
                th:value="${bumen.bid}"
                th:text="${bumen.bname}">
            </option>
        </select><br/>
        <input type="submit" value="确定"/><br/>
    </form>
</body>
</html>